<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<link href="images/reset.css?v={yun:}$config.cachecode{/yun}" rel="stylesheet" type="text/css" />
<link href="images/system.css?v={yun:}$config.cachecode{/yun}" rel="stylesheet" type="text/css" />
<link href="images/table_form.css?v={yun:}$config.cachecode{/yun}" rel="stylesheet" type="text/css" />
<script src="{yun:}$config.sy_weburl{/yun}/js/jquery-1.8.0.min.js?v={yun:}$config.cachecode{/yun}"></script>
<link href="{yun:}$config.sy_weburl{/yun}/js/layui/css/layui.css?v={yun:}$config.cachecode{/yun}" rel="stylesheet" type="text/css" />
<script src="{yun:}$config.sy_weburl{/yun}/js/layui/layui.js?v={yun:}$config.cachecode{/yun}"></script>
<script src="{yun:}$config.sy_weburl{/yun}/js/layui/phpyun_layer.js?v={yun:}$config.cachecode{/yun}"></script>
<script src="js/admin_public.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
<script type="text/javascript">
function resultreport(pid,result){
	$("#result").val(result)
	$("#pid").val(pid);
	add_class('处理结果','350','200','#status_div','');
}
function showbox(title,msg){
	var pytoken=$("#pytoken").val();
	$.post("index.php?m=report&c=show",{id:msg,pytoken:pytoken},function(data){
		data=eval('('+data+')');
		$('#showboxmsg').html(data.r_reason);
		$.layer({
			type : 1,
			title :title, 
			closeBtn : [0 , true],
			border : [10 , 0.3 , '#000', true],
			area : ['350px','210px'],
			page : {dom :"#showbox"}
		});
	});
}
function showrea(title,msg,type){
	var pytoken=$("#pytoken").val();
	$.post("index.php?m=report&c=showxjh",{id:msg,type:type,pytoken:pytoken},function(data){
		data=eval('('+data+')');
		$('#showboxmsg').html(data.r_reason);
		$.layer({
			type : 1,
			title :title, 
			closeBtn : [0 , true],
			border : [10 , 0.3 , '#000', true],
			area : ['350px','220px'],
			page : {dom :"#showbox"}
		});
	});
}
</script>
<title>后台管理</title> 
</head>
<body class="body_ifm">
	<div id="returndiv" style="display:none; width: 350px;"> 
	    <table cellspacing='1' cellpadding='1' class="admin_examine_table">
			<tr>
				<th width='80'>操作人：</th>
				<td align="left" id='returnadmin'></td>
			</tr> 
			<tr>
				<th width='80'>操作时间：</th>
				<td align="left" id='returnrtime'></td>
			</tr> 
			<tr>
				<th width='80'>处理结果：</th>
				<td align="left" id='returnresult'></td>
			</tr> 
	    </table> 
	</div>
	<div id="status_div" style="display:none; width: 350px; ">
		<iframe id="supportiframe"  name="supportiframe" onload="returnmessage('supportiframe');" style="display:none"></iframe>
	  	<form action="index.php?m=report&c=saveresult" target="supportiframe" method="post" id="formstatus" name="myform">
	  		<input type="hidden" name="pytoken" id='pytoken' value="{yun:}$pytoken{/yun}"> 
	    	<table cellspacing='1' cellpadding='1' class="admin_examine_table">
		  		<tr>
					<th width='80'>处理结果：</th>
					<td align="left"><textarea id="result" name="result" class="admin_explain_textarea"></textarea></td>
	   			</tr>
	    		<tr>
	       			<td colspan='2' align="center">
		       			<div class="admin_Operating_sub"> 
					       <input name="pid" value="0" id='pid' type="hidden">
					       <input type="submit"  value='确认' class="admin_examine_bth"> 
					       <input type="button" onClick="layer.closeAll();" class="admin_examine_bth_qx" value='取消'>
		      			</div>
	       			</td>
	  			</tr>
	    	</table>
	  </form> 
	</div>
	
{yun:}include file="$adminstyle/member_send_email.htm"{/yun}
<div class="infoboxp">

<div class="tabs_info">
    <ul>
     <li {yun:}if $type!='1' &&$type!='2'&&$type!='3' && $ut!='2'{/yun} class="curr"{yun:}/if{/yun}> <a href="index.php?m=report">被举报职位</a> </li>
    	<li {yun:}if $ut=='2'{/yun} class="curr"{yun:}/if{/yun}><a href="index.php?m=report&ut=2">被举报简历</a> </li>
    	<li{yun:}if $type=='1'{/yun} class="curr"{yun:}/if{/yun}><a href="index.php?m=report&type=1" >被举报问答</a> </li>
    <li{yun:}if $type=='2'{/yun} class="curr"{yun:}/if{/yun}>	<a href="index.php?m=report&type=2" >被投诉顾问</a> </li>
        
    </ul>
  </div>


 
  {yun:}if $type!='1' && $type!='2' && $type!='3'{/yun}
  
  <div class="admin_new_tip">
<a href="javascript:;" class="admin_new_tip_close"></a>
<a href="javascript:;" class="admin_new_tip_open" style="display:none;"></a>
<div class="admin_new_tit"><i class="admin_new_tit_icon"></i>操作提示</div>
<div class="admin_new_tip_list_cont">
<div class="admin_new_tip_list">该页面展示了被举报的{yun:}if $ut==2{/yun}简历{yun:}else{/yun}职位{yun:}/if{/yun}。</div>
</div>
</div>
<div class="clear"></div>
<div class="admin_new_search_box">
 <form action="index.php" name="myform" method="get">
      <input name="m" value="report" type="hidden"/>
      <input name="ut" value="{yun:}$ut{/yun}" type="hidden"/>
<div class="admin_new_search_name">搜索类型：</div>
 <div class="admin_Filter_text formselect"  did='df_type'>
        <input type="button" value="{yun:}if $smarty.get.f_type=='1'||$smarty.get.f_type==''{/yun}{yun:}if $ut=='2'{/yun}姓名{yun:}else{/yun}公司名 {yun:}/if{/yun}{yun:}elseif $smarty.get.f_type=='2'{/yun}举报人{yun:}elseif $smarty.get.f_type=='3'{/yun}举报理由{yun:}/if{/yun}" class="admin_Filter_but"  id="bf_type">
        <input type="hidden" id='f_type' value="{yun:}if $smarty.get.f_type{/yun}{yun:}$smarty.get.f_type{/yun}{yun:}else{/yun}1{yun:}/if{/yun}" name='f_type'>
        <div class="admin_Filter_text_box" style="display:none" id='df_type'>
          <ul>
            {yun:}if $ut=='2'{/yun}
            <li><a href="javascript:void(0)" onClick="formselect('1','f_type','姓名')">姓名</a></li>
            {yun:}else{/yun}
            <li><a href="javascript:void(0)" onClick="formselect('1','f_type','公司名')">公司名</a></li>
            {yun:}/if{/yun}
            <li><a href="javascript:void(0)" onClick="formselect('2','f_type','举报人')">举报人</a></li>
            <li><a href="javascript:void(0)" onClick="formselect('3','f_type','举报理由')">举报理由</a></li>
          </ul>
        </div>
      </div>
      <input class="admin_Filter_search" placeholder="输入你要搜索的关键字" type="text" name="keyword"  size="25" style="float:left">
      <input  class="admin_Filter_bth"  type="submit" name="qysearch" value="搜索"/>
</form>


 
 </div>
<div class="clear"></div>

  <div class="table-list">
    <div class="admin_table_border">
      <form action="index.php" name="myform" method="get" target="supportiframe" id='myform'>
        <input name="m" value="report" type="hidden"/>
        <input name="c" value="del" type="hidden"/>
        <table width="100%">
          <thead>
            <tr class="admin_table_top">
              <th style="width:20px;"><label for="chkall"><input type="checkbox" id='chkAll' onclick='CheckAll(this.form)'/></label></th>
              {yun:}if $ut==2{/yun}
              {yun:}if $smarty.get.t=="p_uid" && $smarty.get.order=="asc"{/yun}
              <th><a href="{yun:}searchurl order=desc ut=$ut t=p_uid m=report untype='order,t,ut'{/yun}">用户ID<img src="images/sanj.jpg"/></a></th>
              {yun:}else{/yun}
              <th><a href="{yun:}searchurl order=asc ut=$ut t=p_uid m=report untype='order,t,ut'{/yun}">用户ID<img src="images/sanj2.jpg"/></a></th>
              {yun:}/if{/yun}
              {yun:}else{/yun}
              {yun:}if $smarty.get.t=="c_uid" && $smarty.get.order=="asc"{/yun}
              <th><a href="{yun:}searchurl order=desc ut=$ut t=c_uid m=report untype='order,t,ut'{/yun}">用户ID<img src="images/sanj.jpg"/></a></th>
              {yun:}else{/yun}
              <th><a href="{yun:}searchurl order=asc ut=$ut t=c_uid m=report untype='order,t,ut'{/yun}">用户ID<img src="images/sanj2.jpg"/></a></th>
              {yun:}/if{/yun}
              {yun:}/if{/yun}
              <th align="left" width="160">{yun:}if $ut==2{/yun}姓名{yun:}else{/yun}公司名{yun:}/if{/yun}</th>
              {yun:}if $ut==2{/yun}{yun:}else{/yun}
              <th align="left">职位</th>
              {yun:}/if{/yun}
              <th align="left">邮箱</th>
              <th align="left">举报人</th>
              {yun:}if $smarty.get.t=="inputtime" && $smarty.get.order=="asc"{/yun}
              <th><a href="{yun:}searchurl order=desc ut=$ut t=inputtime m=report untype='order,t,ut'{/yun}">举报时间<img src="images/sanj.jpg"/></a></th>
              {yun:}else{/yun}
              <th><a href="{yun:}searchurl order=asc ut=$ut t=inputtime m=report untype='order,t,ut'{/yun}">举报时间<img src="images/sanj2.jpg"/></a></th>
              {yun:}/if{/yun}
              <th align="left" style="width:230px;">举报理由</th>
              <th class="admin_table_th_bg">操作</th>
            </tr>
          </thead>
          <tbody>
          
          {yun:}foreach item=user from=$userrows{/yun}
          <tr align="center" id="list{yun:}$user.id{/yun}">
            <td><input type="checkbox" value="{yun:}$user.id{/yun}"  name='del[]' onclick='unselectall()' rel="del_chk" /></td>
            <td style="text-align:center;">{yun:}$user.c_uid{/yun}</td>
            <td class="ud" align="left">{yun:}if $user.usertype=="2"{/yun}<a href="{yun:}url m=resume c=show id='`$user.eid`'{/yun}" target="_blank" class="admin_cz_sc">{yun:}$user.r_name{/yun}</a>{yun:}else{/yun}<a href="{yun:}url m=company c=show id='`$user.c_uid`'{/yun}" target="_blank" class="admin_cz_sc">{yun:}$user.r_name{/yun}</a>{yun:}/if{/yun}</td>
            {yun:}if $user.usertype=="2"{/yun}{yun:}else{/yun}
            <td class="od" align="left"><a href="{yun:}url m=job c=comapply id='`$user.eid`'{/yun}" target="_blank" class="admin_cz_sc">{yun:}$user.name|mb_substr:0:20:'utf-8'{/yun}</a></td>
            {yun:}/if{/yun}
            <td class="od" align="left">{yun:}if $user.email{/yun}
              <div  style="width:130px;"> {yun:}$user.email{/yun}<br>
                {yun:}if $email_promiss=='1'{/yun}<span onClick="send_email('{yun:}$user.email{/yun}');" style="color:green; cursor:pointer;">发邮件</span>{yun:}/if{/yun}</div>
              {yun:}/if{/yun}</td>
            <td class="gd" align="left">{yun:}$user.username{/yun}</td>
            <td class="td">{yun:}$user.inputtime|date_format:"%Y-%m-%d"{/yun}</td>
            <td class="gd"><div style="width:230px; text-align:left">{yun:}$user.r_reason{/yun}</div></td>
            <td> {yun:}if $ut==2{/yun} <a href="javascript:void(0)" onClick="layer_del('确定要删除简历并删除该信息？', 'index.php?m=report&c=delresume&id={yun:}$user.id{/yun}&eid={yun:}$user.eid{/yun}&uid={yun:}$user.c_uid{/yun}');"class="admin_cz_sc">删除简历</a> {yun:}else{/yun} <a href="javascript:void(0)" onClick="layer_del('确定要删除职位并删除该信息？', 'index.php?m=report&c=deljob&id={yun:}$user.id{/yun}&eid={yun:}$user.eid{/yun}');"class="admin_new_c_bth admin_new_c_bth_sc">职位</a> {yun:}/if{/yun} 
             <a  href="javascript:void(0)" onclick="resultreport('{yun:}$user.id{/yun}','{yun:}$user.result{/yun}')"  class="admin_new_c_bth">处理</a> 
             <a href="javascript:void(0)" onClick="layer_del('确定要删除？', 'index.php?m=report&c=del&del={yun:}$user.id{/yun}');" class="admin_new_c_bth admin_new_c_bth_sc">删除</a></td>
          </tr>
          {yun:}/foreach{/yun}
          <tr style="background:#f1f1f1;">
            <td align="center"><input type="checkbox" id='chkAll2' onclick='CheckAll2(this.form)' /></td>
            <td colspan="2" ><label for="chkAll2">全选</label>
              <input class="admin_button" type="button" name="delsub" value="删除所选"  onclick="return really('del[]')"/></td>
            <td colspan="7" class="digg">{yun:}$pagenav{/yun}</td>
          </tr>
            </tbody>
          
        </table>
        <input type="hidden" name="pytoken"  id='pytoken' value="{yun:}$pytoken{/yun}">
      </form>
    </div>
  </div>
  {yun:}else if $type=='1'{/yun}
    <div class="admin_new_tip">
<a href="javascript:;" class="admin_new_tip_close"></a>
<a href="javascript:;" class="admin_new_tip_open" style="display:none;"></a>
<div class="admin_new_tit"><i class="admin_new_tit_icon"></i>操作提示</div>
<div class="admin_new_tip_list_cont">
<div class="admin_new_tip_list">该页面展示了被举报的问答。</div>
</div>
</div>
<div class="clear"></div>
  <div class="admin_new_search_box">
    <form action="index.php" name="myforms" method="get"  id='myforms'>
      <input name="m" value="report" type="hidden"/>
      <input name="type" value="1" type="hidden"/>
<div class="admin_new_search_name">搜索类型：</div>
   <div class="admin_Filter_text formselect"  did='dp_type'>
        <input type="button" value="{yun:}if $smarty.get.p_type=='1'||$smarty.get.p_type==''{/yun}被举报者{yun:}else{/yun}举报者{yun:}/if{/yun}" class="admin_Filter_but"  id="bp_type">
        <input type="hidden" id='p_type' value="{yun:}if $smarty.get.p_type{/yun}{yun:}$smarty.get.p_type{/yun}{yun:}else{/yun}1{yun:}/if{/yun}" name='p_type'>
        <div class="admin_Filter_text_box" style="display:none" id='dp_type'>
          <ul>
            <li><a href="javascript:void(0)" onClick="formselect('1','p_type','被举报者')">被举报者</a></li>
            <li><a href="javascript:void(0)" onClick="formselect('2','p_type','举报者')">举报者</a></li>
          </ul>
        </div>
      </div>
      <input class="admin_Filter_search" placeholder="输入你要搜索的关键字" type="text" name="keyword"  size="25" style="float:left">
      <input  class="admin_Filter_bth"  type="submit" name="comquestion" value="检索"/>
      <input type="hidden" name="pytoken" id='pytoken' value="{yun:}$pytoken{/yun}">
</form>


 
 </div>
<div class="clear"></div>




  <div class="admin_Filter">
   
  <div class="table-list">
    <div class="admin_table_border"> 
      <form action="index.php" name="myform" method="get" id='myform'  target="supportiframe" >
        <input name="m" value="report" type="hidden"/>
        <input name="c" value="del" type="hidden"/>
        <table width="100%">
          <thead>
            <tr class="admin_table_top">
              <th><label for="chkall">
                  <input type="checkbox" id='chkAll'  onclick='CheckAll(this.form)'/>
                </label></th>
              <th> {yun:}if $smarty.get.t=="id" && $smarty.get.order=="asc"{/yun} <a href="{yun:}searchurl type=1 order=desc t=id m=report untype='order,t,type'{/yun}">编号<img src="images/sanj.jpg"/></a> {yun:}else{/yun} <a href="{yun:}searchurl type=1 order=asc t=id m=report untype='order,t,type'{/yun}">编号<img src="images/sanj2.jpg"/></a> {yun:}/if{/yun} </th>
              <th align="left">被举报者</th>
              <th align="left">举报者</th> 
              <th align="left">举报问题</th>
              <th >是否处理</th>
              <th align="left">举报原因</th>
              <th> {yun:}if $smarty.get.t=="inputtime" && $smarty.get.order=="asc"{/yun} <a href="{yun:}searchurl type=1 order=desc t=inputtime m=report untype='order,t,type'{/yun}">举报时间<img src="images/sanj.jpg"/></a> {yun:}else{/yun} <a href="{yun:}searchurl type=1 order=asc t=inputtime m=report untype='order,t,type'{/yun}">举报时间<img src="images/sanj2.jpg"/></a> {yun:}/if{/yun} </th>
              <th class="admin_table_th_bg">操作</th>
            </tr>
          </thead>
          <tbody>
          
          {yun:}foreach item=r from=$q_report{/yun}
          <tr align="center" id="list{yun:}$r.id{/yun}">
            <td><input type="checkbox" value="{yun:}$r.id{/yun}"  name='del[]' onclick='unselectall()' rel="del_chk" /></td>
            <td align="left" class="td1"><span>{yun:}$r.id{/yun}</span></td>
            <td align="left">{yun:}$r.r_name{/yun}</td>
            <td align="left">{yun:}$r.username{/yun}</td> 
            <td align="left">{yun:}if $r.is_del{/yun}<font color="red">{yun:}$r.is_del{/yun}</font>{yun:}elseif $r.status!=1{/yun} <a href="{yun:}$r.url{/yun}" target="_blank">{yun:}$r.title|mb_substr:0:20:'utf-8'{/yun}</a> {yun:}else{/yun}
              <a href="{yun:}url m=ask c=content id=$r.eid{/yun}" target="_blank">{yun:}$r.title|mb_substr:0:20:'utf-8'{/yun}</a>
              {yun:}/if{/yun}</td>
            <td id="status{yun:}$r.id{/yun}">{yun:}if $r.is_del{/yun}<font color="red">{yun:}$r.is_del{/yun}</font>{yun:}elseif $r.status=="1"{/yun}<a href="javascript:void(0);" onClick="rec_up('index.php?m=report&c=recommend','{yun:}$r.id{/yun}','0','status');"><img src="../config/ajax_img/doneico.gif"></a>{yun:}else{/yun}<a href="javascript:void(0);" onClick="rec_up('index.php?m=report&c=recommend','{yun:}$r.id{/yun}','1','status');"><img src="../config/ajax_img/errorico.gif"></a>{yun:}/if{/yun}</td>
            <td align="left">{yun:}$r.reason{/yun}</td>
            <td class="td">{yun:}$r.inputtime|date_format:"%Y-%m-%d %H:%M"{/yun}</td>
            <td>
            	{yun:}if !$r.is_del{/yun}<a href="index.php?m=admin_question&c={yun:}$r.c{/yun}&id={yun:}$r.eid{/yun}&back_url=1" class="admin_cz_sc"> 修改问答</a> |{yun:}/if{/yun} 
            	<a href="javascript:void(0)" onClick="layer_del('确定要删除？', 'index.php?m=report&c=del&del={yun:}$r.id{/yun}');" class="admin_new_c_bth admin_new_c_bth_sc">删除</a> | 
            	<a href="javascript:void(0)" onclick="resultreport('{yun:}$r.id{/yun}','{yun:}$r.result{/yun}')" class="admin_cz_sc">处理结果</a>   
            	{yun:}if !$r.is_del{/yun}|<a href="javascript:void(0)" onClick="layer_del('确定要删除问答？', 'index.php?m=report&c=delquestion&del={yun:}$r.eid{/yun}');" class="admin_cz_sc">删除问答</a>{yun:}/if{/yun}
            </td>
          </tr>
          {yun:}/foreach{/yun}
          <tr style="background:#f1f1f1;">
            <td align="center"><input type="checkbox" id='chkAll2' onclick='CheckAll2(this.form)' /></td>
            <td colspan="2" ><label for="chkAll2">全选</label>
              &nbsp;
              <input class="admin_button"   type="button" name="delsub" value="删除所选" onClick="return really('del[]')" /></td>
            <td colspan="7" class="digg">{yun:}$pagenav{/yun}</td>
          </tr>
            </tbody>
          
        </table>
        <input type="hidden" name="pytoken"  id='pytoken' value="{yun:}$pytoken{/yun}">
      </form>
    </div>
  </div>
  {yun:}else if $type=='2'{/yun}
    <div class="admin_new_tip">
<a href="javascript:;" class="admin_new_tip_close"></a>
<a href="javascript:;" class="admin_new_tip_open" style="display:none;"></a>
<div class="admin_new_tit"><i class="admin_new_tit_icon"></i>操作提示</div>
<div class="admin_new_tip_list_cont">
<div class="admin_new_tip_list">该页面展示了被投诉的顾问。</div>
</div>
</div>
<div class="clear"></div>
    <div class="admin_new_search_box">
     <form action="index.php" name="myforms" method="get"  id='myforms'>
      <input name="m" value="report" type="hidden"/>
      <input name="type" value="2" type="hidden"/>
<div class="admin_new_search_name">搜索类型：</div>
  <div class="admin_Filter_text formselect"  did='dp_type'>
        <input type="button" value="{yun:}if $smarty.get.p_type=='1'||$smarty.get.p_type==''{/yun}被投诉者{yun:}else{/yun}投诉者{yun:}/if{/yun}" class="admin_Filter_but"  id="bp_type">
        <input type="hidden" id='p_type' value="{yun:}if $smarty.get.p_type{/yun}{yun:}$smarty.get.p_type{/yun}{yun:}else{/yun}1{yun:}/if{/yun}" name='p_type'>
        <div class="admin_Filter_text_box" style="display:none" id='dp_type'>
          <ul>
            <li><a href="javascript:void(0)" onClick="formselect('1','p_type','被投诉者')">被投诉者</a></li>
            <li><a href="javascript:void(0)" onClick="formselect('2','p_type','投诉者')">投诉者</a></li>
          </ul>
        </div>
      </div>
      <input class="admin_Filter_search" placeholder="输入你要搜索的关键字" type="text" name="keyword"  size="25" style="float:left">
      <input  class="admin_Filter_bth"  type="submit" name="comquestion" value="检索"/>
      <input type="hidden" name="pytoken" id='pytoken' value="{yun:}$pytoken{/yun}">
</form>


 
 </div>
<div class="clear"></div>


  <div class="admin_Filter">
 
  <div class="table-list">
    <div class="admin_table_border"> 
      <form action="index.php" name="myform" method="get" id='myform'  target="supportiframe" >
        <input name="m" value="report" type="hidden"/>
        <input name="c" value="del" type="hidden"/>
        <table width="100%">
          <thead>
            <tr class="admin_table_top">
              <th><label for="chkall">
                  <input type="checkbox" id='chkAll'  onclick='CheckAll(this.form)'/>
                </label></th>
              <th> {yun:}if $smarty.get.t=="id" && $smarty.get.order=="asc"{/yun} <a href="{yun:}searchurl type=2 order=desc t=id m=report untype='order,t,type'{/yun}">编号<img src="images/sanj.jpg"/></a> {yun:}else{/yun} <a href="{yun:}searchurl type=2 order=asc t=id m=report untype='order,t,type'{/yun}">编号<img src="images/sanj2.jpg"/></a> {yun:}/if{/yun} </th>
              <th align="left">被投诉者</th>
              <th align="left">投诉者</th> 
              <th align="left">投诉内容</th>
              <th> {yun:}if $smarty.get.t=="inputtime" && $smarty.get.order=="asc"{/yun} <a href="{yun:}searchurl type=2 order=desc t=inputtime m=report untype='order,t,type'{/yun}">投诉时间<img src="images/sanj.jpg"/></a> {yun:}else{/yun} <a href="{yun:}searchurl type=2 order=asc t=inputtime m=report untype='order,t,type'{/yun}">投诉时间<img src="images/sanj2.jpg"/></a> {yun:}/if{/yun} </th>
              <th class="admin_table_th_bg">操作</th>
            </tr>
          </thead>
          <tbody>
          
          {yun:}foreach item=r from=$q_report{/yun}
          <tr align="center" id="list{yun:}$r.id{/yun}">
            <td><input type="checkbox" value="{yun:}$r.id{/yun}"  name='del[]' onclick='unselectall()' rel="del_chk" /></td>
            <td align="left" class="td1"><span>{yun:}$r.id{/yun}</span></td>
            <td align="left">{yun:}$r.r_name{/yun}</td>
            <td align="left">{yun:}$r.username{/yun}</td> 
            <td align="left">{yun:}$r.r_reason|mb_substr:0:45:"utf-8"{/yun}{yun:}if strlen($r.r_reason)>45{/yun} 
			<a href="javascript:void(0);" onclick="showbox('评论内容','{yun:}$r.id{/yun}')" class="admin_cz_sc">[更多]</a>
			{yun:}/if{/yun}</td>
            <td class="td">{yun:}$r.inputtime|date_format:"%Y-%m-%d %H:%M"{/yun}</td>
            <td><a href="javascript:void(0)" onClick="layer_del('确定要删除？', 'index.php?m=report&c=del&del={yun:}$r.id{/yun}');" class="admin_new_c_bth admin_new_c_bth_sc">删除</a> 
            <a href="javascript:void(0)" onclick="resultreport('{yun:}$r.id{/yun}','{yun:}$r.result{/yun}')" class="admin_cz_sc">处理结果</a></td>
          </tr>
          {yun:}/foreach{/yun}
          <tr style="background:#f1f1f1;">
            <td align="center"><input type="checkbox" id='chkAll2' onclick='CheckAll2(this.form)' /></td>
            <td colspan="2" ><label for="chkAll2">全选</label>
              &nbsp;
              <input class="admin_button"   type="button" name="delsub" value="删除所选" onClick="return really('del[]')" /></td>
            <td colspan="7" class="digg">{yun:}$pagenav{/yun}</td>
          </tr>
            </tbody>
          
        </table>
        <input type="hidden" name="pytoken"  id='pytoken' value="{yun:}$pytoken{/yun}">
      </form>
    </div>
  </div>
  {yun:}else if $type=='3'{/yun}
    <div class="admin_new_tip">
<a href="javascript:;" class="admin_new_tip_close"></a>
<a href="javascript:;" class="admin_new_tip_open" style="display:none;"></a>
<div class="admin_new_tit"><i class="admin_new_tit_icon"></i>操作提示</div>
<div class="admin_new_tip_list_cont">
<div class="admin_new_tip_list">该页面展示了被投诉的宣讲会。</div>
</div>
</div>
<div class="clear"></div>
    <div class="admin_new_search_box">
     <form action="index.php" name="myforms" method="get"  id='myforms'>
      <input name="m" value="report" type="hidden"/>
      <input name="type" value="3" type="hidden"/>
<div class="admin_new_search_name">搜索类型：</div>
  <div class="admin_Filter_text formselect"  did='dp_type'>
        <input type="button" value="{yun:}if $smarty.get.p_type=='1'||$smarty.get.p_type==''{/yun}被投诉者{yun:}else{/yun}投诉者{yun:}/if{/yun}" class="admin_Filter_but"  id="bp_type">
        <input type="hidden" id='p_type' value="{yun:}if $smarty.get.p_type{/yun}{yun:}$smarty.get.p_type{/yun}{yun:}else{/yun}1{yun:}/if{/yun}" name='p_type'>
        <div class="admin_Filter_text_box" style="display:none" id='dp_type'>
          <ul>
            <li><a href="javascript:void(0)" onClick="formselect('1','p_type','被投诉者')">被投诉者</a></li>
            <li><a href="javascript:void(0)" onClick="formselect('2','p_type','投诉者')">投诉者</a></li>
          </ul>
        </div>
      </div>
      <input class="admin_Filter_search" placeholder="输入你要搜索的关键字" type="text" name="keyword"  size="25" style="float:left">
      <input  class="admin_Filter_bth"  type="submit" name="comquestion" value="检索"/>
      <input type="hidden" name="pytoken" id='pytoken' value="{yun:}$pytoken{/yun}">
</form>
 </div>
<div class="clear"></div>
  <div class="admin_Filter">
  <div class="table-list">
    <div class="admin_table_border"> 
      <form action="index.php" name="myform" method="get" id='myform'  target="supportiframe" >
        <input name="m" value="report" type="hidden"/>
        <input name="c" value="del" type="hidden"/>
        <table width="100%">
          <thead>
            <tr class="admin_table_top">
              <th><label for="chkall"><input type="checkbox" id='chkAll'  onclick='CheckAll(this.form)'/></label></th>
              <th align="left"> {yun:}if $smarty.get.t=="id" && $smarty.get.order=="asc"{/yun} <a href="{yun:}searchurl type=3 order=desc t=id m=report untype='order,t,type'{/yun}">编号<img src="images/sanj.jpg"/></a> {yun:}else{/yun} <a href="{yun:}searchurl type=3 order=asc t=id m=report untype='order,t,type'{/yun}">编号<img src="images/sanj2.jpg"/></a> {yun:}/if{/yun} </th>
              <th align="left">被投诉者</th>
              <th align="left">投诉者</th>
              <th align="left">错误宣讲会信息</th>
              <th align="left">正确宣讲会信息</th>
              <th>{yun:}if $smarty.get.t=="inputtime" && $smarty.get.order=="asc"{/yun} <a href="{yun:}searchurl type=3 order=desc t=inputtime m=report untype='order,t,type'{/yun}">投诉时间<img src="images/sanj.jpg"/></a> {yun:}else{/yun} <a href="{yun:}searchurl type=3 order=asc t=inputtime m=report untype='order,t,type'{/yun}">投诉时间<img src="images/sanj2.jpg"/></a> {yun:}/if{/yun} </th>
              <th class="admin_table_th_bg">操作</th>
            </tr>
          </thead>
          <tbody>
          {yun:}foreach item=r from=$q_report{/yun}
          <tr align="center" id="list{yun:}$r.id{/yun}">
            <td><input type="checkbox" value="{yun:}$r.id{/yun}"  name='del[]' onclick='unselectall()' rel="del_chk" /></td>
            <td align="left" class="td1"><span>{yun:}$r.id{/yun}</span></td>
            <td align="left">{yun:}$r.r_name{/yun}</td>
            <td align="left">{yun:}$r.username{/yun}</td>
            <td align="left">{yun:}$r.ereason|mb_substr:0:45:"utf-8"{/yun}{yun:}if strlen($r.ereason)>45{/yun} 
            <a href="javascript:void(0);" onclick="showrea('宣讲会信息','{yun:}$r.id{/yun}','error')" class="admin_cz_sc">[更多]</a>
            {yun:}/if{/yun}</td>
            <td align="left">{yun:}$r.rreason|mb_substr:0:45:"utf-8"{/yun}{yun:}if strlen($r.rreason)>45{/yun} 
            <a href="javascript:void(0);" onclick="showrea('宣讲会信息','{yun:}$r.id{/yun}','right')" class="admin_cz_sc">[更多]</a>
            {yun:}/if{/yun}</td>
            <td class="td">{yun:}$r.inputtime|date_format:"%Y-%m-%d %H:%M"{/yun}</td>
            <td><a href="javascript:void(0)" onClick="layer_del('确定要删除？', 'index.php?m=report&c=del&del={yun:}$r.id{/yun}');" class="admin_new_c_bth admin_new_c_bth_sc">删除</a></td>
          </tr>
          {yun:}/foreach{/yun}
          <tr style="background:#f1f1f1;">
            <td align="center"><input type="checkbox" id='chkAll2' onclick='CheckAll2(this.form)' /></td>
            <td colspan="2" ><label for="chkAll2">全选</label>&nbsp;
              <input class="admin_button" type="button" name="delsub" value="删除所选" onClick="return really('del[]')" /></td>
            <td colspan="7" class="digg">{yun:}$pagenav{/yun}</td>
          </tr>
         </tbody>
        </table>
        <input type="hidden" name="pytoken" id='pytoken' value="{yun:}$pytoken{/yun}">
      </form>
    </div>
  </div>
  {yun:}/if{/yun} 
  </div> 
<div id="showbox"  style="display:none; width: 340px; overflow:hidden "> 
    <div id="showboxmsg" style="width:320px; padding:10px;height:150px; line-height:25px; font-size:14px; overflow:auto"> </div>   
</div>
</body>
</html>
